package com.wisdytech.common.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * <p>ClassName: StandardTableResult</p>
 * <p>Description: 标准表格返回值</p>
 * <p>Author: dailibo</p>
 * <p>Date: 2017-9-18</p>
 */
public class StandardTableResult<T> implements Serializable{
    /**
     * <p>Field serialVersionUID: TODO</p>
     */
    private static final long serialVersionUID = 6288957310296139037L;
    /**总数*/
    private long total;
    /**数据列表*/
    private List<T> rows;
    
    public StandardTableResult(){
        
    }
    
    public StandardTableResult(long total,List<T> rows){
        this.total=total;
        this.rows =rows;
    }
    
    public long getTotal() {
        return total;
    }
    public void setTotal(long total) {
        this.total = total;
    }
    public List<T> getRows() {
        return rows;
    }
    public void setRows(List<T> rows) {
        this.rows = rows;
    }
    
    

}
